package pokerStat.sit;

import neuroPoker.netze.PokerInputSit;
import neuroPoker4.netze.input.FlopInputSitBR1;
import neuroPoker4.netze.input.FlopInputSitBR2;
import neuroPoker4.netze.input.FlopInputSitBR3;
import neuroPoker4.netze.input.FlopInputSitBR4;
import neuroPoker4.netze.input.FlopInputSitBR5;
import neuroPoker4.netze.input.PreFlopInputSitBR1;
import neuroPoker4.netze.input.PreFlopInputSitBR2;
import neuroPoker4.netze.input.PreFlopInputSitBR3;
import neuroPoker4.netze.input.PreFlopInputSitBR4;
import neuroPoker4.netze.input.RiverInputSitBR1;
import neuroPoker4.netze.input.RiverInputSitBR2;
import neuroPoker4.netze.input.RiverInputSitBR3;
import neuroPoker4.netze.input.RiverInputSitBR4;
import neuroPoker4.netze.input.RiverInputSitBR5;
import neuroPoker4.netze.input.TurnInputSitBR1;
import neuroPoker4.netze.input.TurnInputSitBR2;
import neuroPoker4.netze.input.TurnInputSitBR3;
import neuroPoker4.netze.input.TurnInputSitBR4;
import neuroPoker4.netze.input.TurnInputSitBR5;

public class SitClassFinder {

	public static Class<? extends PokerInputSit> getSitClass(int br) {
		// preflop
		if (br == 0)
			return PreFlopInputSitBR1.class;
		if (br == 1)
			return PreFlopInputSitBR2.class;
		if (br == 2)
			return PreFlopInputSitBR3.class;
		if (br == 3)
			return PreFlopInputSitBR4.class;
		// flop
		if (br == 4)
			return FlopInputSitBR1.class;
		if (br == 5)
			return FlopInputSitBR2.class;
		if (br == 6)
			return FlopInputSitBR3.class;
		if (br == 7)
			return FlopInputSitBR4.class;
		if (br == 8)
			return FlopInputSitBR5.class;
		// turn
		if (br == 9)
			return TurnInputSitBR1.class;
		if (br == 10)
			return TurnInputSitBR2.class;
		if (br == 11)
			return TurnInputSitBR3.class;
		if (br == 12)
			return TurnInputSitBR4.class;
		if (br == 13)
			return TurnInputSitBR5.class;
		// river
		if (br == 14)
			return RiverInputSitBR1.class;
		if (br == 15)
			return RiverInputSitBR2.class;
		if (br == 16)
			return RiverInputSitBR3.class;
		if (br == 17)
			return RiverInputSitBR4.class;
		if (br == 18)
			return RiverInputSitBR5.class;
		// raise
		// preflop
		if (br == 19)
			return PreFlopInputSitBR1.class;
		if (br == 20)
			return PreFlopInputSitBR2.class;
		if (br == 21)
			return PreFlopInputSitBR3.class;
		if (br == 22)
			return PreFlopInputSitBR4.class;
		// flop
		if (br == 23)
			return FlopInputSitBR1.class;
		if (br == 24)
			return FlopInputSitBR2.class;
		if (br == 25)
			return FlopInputSitBR3.class;
		if (br == 26)
			return FlopInputSitBR4.class;
		if (br == 27)
			return FlopInputSitBR5.class;
		// turn
		if (br == 28)
			return TurnInputSitBR1.class;
		if (br == 29)
			return TurnInputSitBR2.class;
		if (br == 30)
			return TurnInputSitBR3.class;
		if (br == 31)
			return TurnInputSitBR4.class;
		if (br == 32)
			return TurnInputSitBR5.class;
		// river
		if (br == 33)
			return RiverInputSitBR1.class;
		if (br == 34)
			return RiverInputSitBR2.class;
		if (br == 35)
			return RiverInputSitBR3.class;
		if (br == 36)
			return RiverInputSitBR4.class;
		if (br == 37)
			return RiverInputSitBR5.class;

		System.err.println(SitClassFinder.class + ": Error finding SitClass");
		return null;
	}

}
